package com.thz.houserental.domain.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserVo {
    public String userId;
    
    @Schema(description = "手机号")
    public String phone;
    
    public String wechatId;
    
    public String email;
    
    public String nickName;
    
    @Schema(description = "收藏数量")
    public Integer collectNum;
    
    @Schema(description = "喜欢数")
    public Integer likeNum;
    
    @Schema(description = "需求数")
    public Integer requireNum;
    
    @Schema(description = "用户头像")
    public String avatar;

    private Date createTime;

    private Date updateTime;
}
